<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
import { useThemeStore } from '@/store/theme'

onLaunch(() => {
  console.log('App Launch')
  console.log(import.meta.env.MODE);
  const themeStore = useThemeStore()
  themeStore.initTheme()
})
onShow(() => {
  console.log('App Show')
})
onHide(() => {
  console.log('App Hide')
})
</script>
<style lang="scss">
@import './uni.scss';
@import '@/colorui/main.css';
@import '@/colorui/icon.css';
@import '@/static/css/main.scss';
@import '@/static/css/theme.scss';
@import '@/static/css/theme-dark.scss';
// /*每个页面公共css */
</style>
